


//
//  StoreCollectionViewCell.m
//  ZQLearn
//
//  Created by macfeel on 2019/4/23.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import "StoreCollectionViewCell.h"

@implementation StoreCollectionViewCell

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    if (ScreenWidth>320) {
//        self.headImg.frame.size.height = 100.f;
        if ( [UserModel shareInstance].isLib == YES) {
            //为了公用一个cell 不同的页面高度不同
            self.heightConstant.constant = 155.f;
            
        }else if ([UserModel shareInstance].isComic==YES){
            
            if (ScreenWidth>375) {
                
                self.heightConstant.constant = 123.f;
                
            }else{
                
                self.heightConstant.constant = 116.f;
            }
            
        }else{
            self.heightConstant.constant = 110.f;
        }
    }
}
@end
